package com.edocbase.desktop.swt.widgets;

import org.eclipse.swt.graphics.Image;

import com.edocbase.desktop.maildriver.DesktopApplication;
public enum NotificationType {
    ERROR(DesktopApplication.getImage("error.png")),
    DELETE(DesktopApplication.getImage("delete.png")),
    WARN(DesktopApplication.getImage("warn.png")),
    SUCCESS(DesktopApplication.getImage("ok.png")),
    INFO(DesktopApplication.getImage("/info.png")),
    LIBRARY(DesktopApplication.getImage("library.png")),
    HINT(DesktopApplication.getImage("hint.png")),
    PRINTED(DesktopApplication.getImage("printer.png")),
    CONNECTION_TERMINATED(DesktopApplication.getImage("terminated.png")),
    CONNECTION_FAILED(DesktopApplication.getImage("connecting.png")),
    CONNECTED(DesktopApplication.getImage("connected.png")),
    DISCONNECTED(DesktopApplication.getImage("disconnected.png")),
    TRANSACTION_OK(DesktopApplication.getImage("ok.png")),
    TRANSACTION_FAIL(DesktopApplication.getImage("error.png"));

    private Image _image;

    private NotificationType(Image img) {
        _image = img;
    }

    public Image getImage() {
        return _image;
    }
}
